//
//  ModuleOperationPlugin.h
//  Chamleon-template
//
//  Created by Fanty on 15/12/14.
//
//

#import <Cordova/CDVPlugin.h>

@class Zilla;

@class KKProgressToolbar;
@class CubeModelList;

@interface ModuleOperationPlugin : CDVPlugin{
    Zilla* zillaSDK;
    CubeModelList* modelList;

}
//获取所有模块
- (void)getAllModuleList:(CDVInvokedUrlCommand*)command;

//获取本地已安装模块列表，参数无
-(void)getInstalledModuleList:(CDVInvokedUrlCommand*)command;

//获取尚未安装的模块列表,参数无
-(void)getUninstallModuleList:(CDVInvokedUrlCommand*)command;

//获取本地可更新的模块列表，参数无
-(void)getUpgradeableModuleList:(CDVInvokedUrlCommand*)command;

//安装模块,参数identify
-(void)installModule:(CDVInvokedUrlCommand*)command;

//升级模块,参数identify
-(void)upgradeModule:(CDVInvokedUrlCommand*)command;

//获取单一模块
-(void)getModuleDetail:(CDVInvokedUrlCommand*)command;

//卸载模块,参数identify
-(void)deleteModule:(CDVInvokedUrlCommand*)command;
//版本检测
-(void)checkAppUpdate:(CDVInvokedUrlCommand*)command;

@end

@interface ModuleOperationDelegate : NSObject<UIApplicationDelegate>

@end

